/**
 * Created by Shinelon on 2017/2/11.
 */
var express = require("express");
var app = express();

app.set("port", process.env.PORT || 80);

app.get("/", function (req, res) {
    res.send("Hello world!");
});

app.use(function (req, res, next) {
    res.status(404);
    res.send("Not Found!");
})



app.listen(app.get("port"), "42.96.134.85", function () {
    console.log("APP started on port:" + app.get("port"));
});
